package com.tien.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Tien E-mail:g.tianxin@gmail.com
 * @version Time：2011-6-25 下午01:32:41
 */
@Entity
@Table(name = "LemonNews")
public class LemonNews implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3480242678759240540L;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)   
	private int id;
	@Column
	private String newsType;
	@Column
	private String title;
	@Column
	private String link;
	@Column
	private String description;
	@Column
	private String publisherDate;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getNewsType() {
		return newsType;
	}

	public void setNewsType(String newsType) {
		this.newsType = newsType;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPublisherDate() {
		return publisherDate;
	}

	public void setPublisherDate(String publisherDate) {
		this.publisherDate = publisherDate;
	}

}
